<nav id="footer_menu" class="mui-bar mui-bar-tab">
        <a class="mui-a mui-tab-item {eq name='this_controller' value='index'}mui-active{/eq}" href="/">
                <span class="mui-icon mui-icon-home"></span>
                <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-a mui-tab-item {eq name='this_controller' value='rec'}mui-active{/eq}" href="/index/rec">
                <span class="mui-icon  mui-icon-map"></span>
                <span class="mui-tab-label">计划推荐</span>
        </a>
        <a class="mui-b mui-tab-item {eq name='this_controller' value='virtual'}mui-active{/eq}" href="/index/virtual/index/type/3">
                <span class="mui-icon mui-icon-extra mui-icon-extra-rank"></span>
                <span class="mui-tab-label">虚拟系统</span>
        </a>
        <a class="mui-a mui-tab-item {eq name='this_controller' value='user'}mui-active{/eq}" href="/index/user">
                <span class="mui-icon mui-icon-contact"></span>
                <span class="mui-tab-label">用户中心</span>
        </a>
</nav>
<script type="text/javascript">
           require(['mui'],function(){
              mui('#footer_menu').on('tap','.mui-a',function(){document.location.href=this.href;}); 
           });
</script>